import { createApp } from 'vue'
import { createPinia } from 'pinia'
import App from './App.vue'
import router from './router'
import plugin from './utils/plugin'


// 桌面端适配
import '@vant/touch-emulator';

// 2. 引入组件样式
import 'vant/lib/index.css';
import "@/styles/main.css"
import "@/styles/reset.css"
import "@/utils/flexible.js";

const app = createApp(App)

app.use(createPinia())
app.use(router)



import myHeader from "@/components/myHeader.vue"
app.component('myHeader', myHeader)

app.use(plugin, { a: 1 })

app.mount('#app')